{extend name="web/official_common/mobile/base" /}

{block name="css"}
<link rel="stylesheet" href="__ADDON__/m/css/index.css">
{/block}


{block name="content"}

<!--产品-->
<div class="latest-news segments">
    <div class="container">
        <div class="section-title">
            <h3>{:ze($new_list,'name')}</h3>
            <p>{:ze($new_list,'subheading')}</p>
        </div>
        <div class="section_box">
            {foreach $new_list['son'] as $item}
            <a class="section_box_son" href="{:get_cate_url($item)}">{:ze($item,'name')}</a>
            {/foreach}
        </div>
        <div class="row">

            {foreach $new_list['data'] as $key => $item}
            <div class="col s6" style="margin-bottom: 10px">
                <div class="content new_xinwen">
                    <img src="{$item['image']}" title="{$item['title']}"
                         onclick='location.href="{:addon_url('official/web.official_product/details',[':pid'=>0,':sid'=>0,':id'=>$item['id']])}"'>
                    <a class="new_xinwen_A" href="{:addon_url('official/web.official_product/details',[':pid'=>0,':sid'=>0,':id'=>$item['id']])}">
                        {$item['title']}
                    </a>
                    <!--<p>Lorem ipsum dolor sit amet, consectetur.</p>-->
                </div>
            </div>
            {/foreach}

        </div>
    </div>
</div>


<!--服务范围-->
<div class="con_box">
    <div class="con_box_title">
        <h2 class="con_box_title_h2">{:ze($fuwu,'name')}</h2>
        <p class="con_box_title_p">{:ze($fuwu,'subheading')}</p>
    </div>
    <div class="fuwu_box">
        {foreach $fuwu['data'] as $key => $item}
        <div class="fuwu_box_list">
            <img src="{$item['image']}" alt="" class="fuwu_box_list_img">
            <div class="fuwu_box_list_box">
                <h5 class="fuwu_box_list_h5">{$item['title']}</h5>
                <p class="fuwu_box_list_p">{$item['subheading']}</p>
            </div>
        </div>
        {/foreach}
    </div>
</div>

<!--新聞-->
<div class="con_box">
    <div class="con_box_title">
        <h2 class="con_box_title_h2">{:ze($information,'name')}</h2>
        <p class="con_box_title_p">{:ze($information,'subheading')}</p>
    </div>
    <div class="journalism_box">
        {foreach $information['data'] as $key => $val}
            <a class="journalism_list" href="{:addon_url('official/web.official_journalism/details',[':pid'=>0,':sid'=>0,':id'=>$val['id']])}">
                <div class="InfoPicture" href="" target="_blank" title="{$val['title']}">
                    <img class="InfoPicture_img" src="{$val['image']}">
                    <span class="InfoTime">{:date('Y-m-d H:i',$val['createtime'])}</span>
                </div>
                <div class="InfoWrap">
                    <span class="InfoTitle">{$val['title']}</span>
                    <p class="InfoTitleP">{$val['subheading']}</p>
                </div>
            </a>
        {/foreach}
    </div>
</div>

<!--客戶-->
<div class="con_box">
    <div class="con_box_title">
        <h2 class="con_box_title_h2">{:ze($kehu,'name')}</h2>
        <p class="con_box_title_p" style="text-align: center">{:ze($kehu,'subheading')}</p>
    </div>
    <div class="kehu_box">
        {foreach $kehu['data'] as $item}
        <div class="kehu_box_list">
            <img class="kehu_box_list_img" {if $item['url']} onclick="window.open('{$item['url']}')" {/if} src="{$item['image']}" alt="{$item['name']}" title="{$item['name']}">
        </div>
        {/foreach}
    </div>
</div>



{/block}

{block name="js"}
<script>
    layui.use(['carousel', 'form'], function () {
        var carousel = layui.carousel
            , form = layui.form;
        //常规轮播
        carousel.render({
            elem: '#test2'
            , interval: 3000
            , width: '100%'
            , height: '180px'
        });


    });
</script>
{/block}


